package com.chen.service.role;

import java.util.List;

import com.chen.pojo.Role;

public interface RoleService {
	
	public List<Role> getRoleList() throws Exception;
	
	public boolean addRole(Role role) throws Exception;
	
	public boolean updateRole(Role role) throws Exception;
	
	public boolean deleteRole(String delId) throws Exception;
	
	public Role queryRole(String roleCode) throws Exception;
	
	public Role getRoleById(String id) throws Exception;
	
}
